/**
 * @(#)ResponseEnum.java 2016年11月22日
 * Copyright(C) 2016 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.enums;

/**
 * 结果返回
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public enum ResponseEnum {

	SUCC(1, "成功"), FAIL(0, "业务异常"), ERROR(3, "服务器错误") , PARAMETER_ERROR(4,"参数错误");

	private int status;
	private String desc;

	private ResponseEnum(int status, String desc) {
		this.status = status;
		this.desc = desc;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

}
